// 签名
import _bale from '../utils/package.js'
// 获取不同的接口地址
import { SSO_API, SHARE_API, USER_API } from '../config/index.js'
import { Service } from '../utils/server.js'
class BankRollModel extends Service {
  // 提现明细
  getCashList(params) {
    return this.postRequest(USER_API + '/member/queryCapitalDetails', {
      data: _bale('queryCapitalDetails', params)
    })
  }

  //提现资金详情
  queryFundsDetails(params){
    return this.postRequest(USER_API + '/member/queryFundsDetails', {
      data: _bale('queryFundsDetails', params)
    })
  }

  // 提现明细绩效
  queryCapitalDetails2(params) {
    return this.postRequest(USER_API + '/member/queryCapitalDetails2', {
      data: _bale('queryCapitalDetails2', params)
    })
  }
}
export { BankRollModel }
